
package graph;

import java.util.List;
import java.util.Vector;

/**
 *
 * @author Roberto Maestre Martínez <roberto.maestre AT cchs.csic.es>
 */
public class PathCost {

    private List<Integer> path;

    private int cost;

    
    public PathCost() {
        path = new Vector();
        cost=0;
    }


    /**
     * @return the path
     */
    public List<Integer> getPath() {
        return path;
    }

    /**
     * @param path the path to set
     */
    protected void setPath(List<Integer> path) {
        this.path = path;
    }

    /**
     * @return the cost
     */
    public int getCost() {
        return cost;
    }

    /**
     * @param cost the cost to set
     */
    protected void setCost(int cost) {
        this.cost = cost;
    }
    
}
